package com.team.party.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.team.party.bean.Activity;
import com.team.party.bean.Ajst;
import com.team.party.bean.Manager;
import com.team.party.bean.Sjst;
import com.team.party.bean.Society;
import com.team.party.bean.Student;

public interface ManagerMapper {
	
	public Manager serchManager(Manager manager) throws Exception;
	//通过
	public Society serchMySociety(Manager manager) throws Exception;
	//通过
	public Boolean changeSocietyMessage(Society society) throws Exception;
	//通过
	public List<Student> serchSocietyNumber(Manager manager) throws Exception;
	//通过
	public Boolean insertSocietyNumber(Sjst sjst) throws Exception;
	//通过
	public Boolean changeNumberMessage(Student student) throws Exception;
	//通过
	public Boolean deleteSocietyNumber(Sjst sjst) throws Exception;
	//通过
	public List<Activity> serchMyActivity(Manager manager) throws Exception;
	//通过
	public Activity serchActivityByNo(Activity activity) throws Exception;
	//通过
	public Boolean deleteActivityNumber(Ajst ajst) throws Exception;
	//通过
	public Boolean insertActivity(Activity activity) throws Exception;
	//通过
	public Boolean changeActivityMessage(Activity activity) throws Exception;
	//通过
	public Boolean deleteActivity(Activity activity) throws Exception;
	
	
	//通过
	public List<Student> serchSocietyNumberByFuzzy(@Param("soc_no") String soc_no, @Param("stu_no")String stu_no, @Param("stu_name")String stu_name) throws Exception;
	//通过
	public List<Activity> serchMyActivityByFuzzy(@Param("soc_no") String soc_no, @Param("act_no") String act_no, @Param("act_name")String act_name) throws Exception;
	
	
	public int getSocietyNum(String soc_no) throws Exception;
}
